package bjut.zrpc.core.optimization.interfaces;

import bjut.zrpc.core.optimization.message.ZRpcMessage;
import bjut.zrpc.core.optimization.message.ZRpcRequestMessage;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/30 14:32
 */
public interface Interceptor {

    Object  beforeHandlerInterceptor(ZRpcRequestMessage zRpcRequestMessage);
    Object afterHandlerInterceptor(ZRpcMessage zRpcMessage);

}
